<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>办公自动化管理系统</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="top"><div class="global-width"></div></div>
<div class="status"><div class="global-width"><span class="usertype">【登录角色：<s:property value="#session.user.role.role_name"/>】</span><s:property value="#session.user.realName"/>你好！欢迎使用办公管理系统！</div></div>
<div class="main"><div class="global-width">
	
	<div class="nav" id="nav">
    	<div class="t"></div>
    	<dl class="open">
        	<dt onclick="this.parentNode.className=this.parentNode.className=='open'?'':'open';">报销单管理</dt>
            <dd><a href="index.html" target="_self">添加报销单</a></dd>
            <dd><a href="list.html" target="_self">审核报销单</a></dd>
        </dl>
        <dl>
        	<dt onclick="this.parentNode.className=this.parentNode.className=='open'?'':'open';">我要采购</dt>
            <dd>信心收件箱</dd>
            <dd>信心发件箱</dd>
        </dl>
        <dl>
        	<dt onclick="this.parentNode.className=this.parentNode.className=='open'?'':'open';">我要销售</dt>
            <dd>信心收件箱</dd>
            <dd>信心发件箱</dd>
        </dl>
        <dl>
        	<dt onclick="this.parentNode.className=this.parentNode.className=='open'?'':'open';">信息中心</dt>
            <dd>信心收件箱</dd>
            <dd>信心发件箱</dd>
        </dl>
    </div>
    <div class="action">
    	<div class="t">增加报销单</div>
   		<div class="pages">
        	<!--增加报销单 区域 开始-->
                <table width="90%" border="0" cellspacing="0" cellpadding="0" class="addform-base">
                  <caption>基本信息</caption>
                  <tr>
                    <td width="36%">填写人：<s:property value="voucher.add_user"/></td>
                    <td width="64%">填报时间：<s:date name="voucher.create_time" format="yyyy年MM月dd日"/></td>
                  </tr>
                  <tr>
                    <td>总金额：￥<s:property value="voucher.amount"/> </td>
                    <td>状态：<s:property value="voucher.state"/> </td>
                  </tr>
                </table>
          <p>&nbsp;</p>
                <table width="90%" border="0" cellspacing="0" cellpadding="0" class="addform-base">
                  <tr>
                    <td>项目</td>
                    <td>金额</td>
                    <td>费用</td>
                  </tr>
                  <s:iterator value="vdList">
                  <tr>
                    <td><s:property value="item_name"/> </td>
                    <td>￥<s:property value="item_money"/></td>
                    <td><s:property value="item_descrip"/></td>
                  </tr>
				</s:iterator>
                </table>
                <p>&nbsp;</p>
                <p>-------------------------------------------------------------------------------</p>
                <p>&nbsp;</p>
                <table width="90%" border="0" cellspacing="0" cellpadding="0" class="addform-base">
               	<s:iterator value="ckList">
                  <tr>
                    <td width="27%"><s:property value="user.realName"/>(<s:property value="user.role.role_name"/>) </td>
                    <td width="20%"><s:date name="check_date" format="MM月dd日"/></td>
                    <td width="15%"><s:date name="check_date" format="hh时:mm分"/></td>
                    <td width="38%">审核：<span class="red"><strong><s:property value="result"/> </strong></span></td>
                  </tr>
                  <tr>
                    <td colspan="4"><s:property value="reason"/></td> 
                  </tr>
                 </s:iterator>
                </table>
                <p>&nbsp;</p>
                <table width="90%" border="0" cellspacing="0" cellpadding="0" class="addform-base">
                 <form id="form1" name="form1" method="post" action=""> <tr>
                    <td>审核意见：</td>
                  </tr>
                  <tr>
                    <td>
                      <textarea name="textarea" id="textarea" cols="45" rows="5"></textarea>
                    </td>
                  </tr>
                  <!--表单提交行-->
                  <tr>
                    <td colspan="4" class="submit">
                    <input type="submit" name="button" id="button" value="保 存" class="submit_01" />
                    <input type="submit" name="button" id="button" value="保存并提交" class="submit_01" />
                    <input type="submit" name="button" id="button" value="添加明细" class="submit_01" />
                    </td>
                    </tr>  
                   </form>
                </table>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>        
            <!--增加报销单 区域 结束-->
        </div>
    </div>
</div></div>

<div class="copyright">Copyright  &nbsp;   &copy;  &nbsp; </div>

</body>
</html>